package com.example.demo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Data;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 题目类型
 */

// @Getter
@RequiredArgsConstructor
public enum QuestionType {

    OBJECTIVE_QUESTION(0, "客观题"),

    PROGRAMMING_QUESTION(1, "编程题"),

    SINGLE_CHOICE(2, "单选题"),

    MULTIPLE_CHOICE(3, "多选题"),

    TURE_OR_FALSE(4, "判断题"),

    ;

    @EnumValue
    private final Integer value;

    private final String text;

}
